package com.aiti.lulian.mapper.gxmh;

import com.aiti.base.core.base.mapper.SuperMapper;
import com.aiti.lulian.gxmh.entity.GxmhPolicyDeclare;
import org.apache.ibatis.annotations.Param;

public interface GxmhPolicyDeclareMapper extends SuperMapper<GxmhPolicyDeclare> {

    Integer queryCountByEnterpriseId(@Param("enterpriseId") String enterpriseId);

    Integer queryCountByEnterpriseIdAndPolicyId(@Param("enterpriseId") String enterpriseId, @Param("policyId")String policyId);

    String querySpecialPolicyId(@Param("province") String province, @Param("city") String city, @Param("county") String county, @Param("street") String street);

    String queryFormIdByPolicyId(@Param("policyId") String policyId);
}
